package com.jhxy.algorithm.removeduplicates;

/**
 * 移除数组中重复的数
 */
public class InputForRemoveDuplicates {

    public int nums[];

    public InputForRemoveDuplicates(String numStr) {
        String[] numberList = numStr.split(",");
        nums = new int[numberList.length];
        for (int i = 0; i < numberList.length; i++) {
            nums[i] = Integer.parseInt(numberList[i]);
        }
    }
}
